package com.example.ksnacosprovider.Service;

import pojo.Customer;
import tools.Page;

import java.util.List;

public interface CustomerService {

    //增加客户信息
    public boolean InsertCustomer(Customer customer);

    //删除客户信息
    public boolean DelCustomer(int id);

    //修改客户信息
    public boolean UpdateCustomer(Customer customer);

    //分页查询客户信息
    public List<Customer> SelCustomer(String customerNumber, String customerName, Page page);

    //查看总条数
    public int SelectTotle(String customerNumber,String customerName);
}
